// 	Name: 01.c
//	Description: Chapter 6 project 1
//	Author: StableGenius
//	Date: 2020-05-14
//	Email: feng@dongfa.pro

#include <stdio.h>

int main(void){
	float number, max = -1.0f;
	
	do {
		printf("Enter a number: ");
		scanf("%f", &number);
		
		if (number > max) max = number;
	} while (number > 0);
	
	printf("\nThe largest number entered was %f\n", max);
	
	return 0;
}